package com.aiwiown.face.response;

import com.aiwiown.face.ApiResponse;
import com.aiwiown.face.domain.FaceThousandlandmark;
import com.aiwiown.face.domain.detect.FaceRectangle;
import com.aiwiown.face.domain.detect.Headpose;
import com.aiwiown.face.domain.facialfeatures.FeatureResout;
import com.aiwiown.face.internal.mapping.ApiField;
import com.aiwiown.face.internal.mapping.ApiListField;

import java.util.List;

/**
 * @ClassName : FacialFeaturesResponse
 * @Description :
 * @Author : dbin0123
 * @Date: 2020-05-23 10:47
 */
public class FacialFeaturesResponse extends ApiResponse {
    private static final long serialVersionUID = 3878208223726993518L;

    /**
     * 被检测的图片在系统中的标识。
     */
    @ApiField(value = "image_id")
    private String imageId;
    /**
     * 人脸矫正后的图片，jpg格式
     */
    @ApiField(value = "image_reset")
    private String imageReset;
    /**
     * 人脸特征分析的结果，具体包含的返回值信息见下表
     */
    @ApiListField(value = "result")
    private List<FeatureResout> result;
    /**
     * 人脸矩形框的位置，包括以下属性
     */
    @ApiField(value = "face_rectangle")
    private FaceRectangle faceRectangle;
    /**
     * 人脸姿势分析结果
     */
    @ApiField(value = "headpose")
    private Headpose headpose;
    /**
     * 人脸五官及轮廓的关键点坐标数组
     */
    @ApiField(value = "denselandmark")
    private FaceThousandlandmark denselandmark;

    public String getImageId() {
        return imageId;
    }

    public void setImageId(String imageId) {
        this.imageId = imageId;
    }

    public String getImageReset() {
        return imageReset;
    }

    public void setImageReset(String imageReset) {
        this.imageReset = imageReset;
    }

    public List<FeatureResout> getResult() {
        return result;
    }

    public void setResult(List<FeatureResout> result) {
        this.result = result;
    }

    public FaceRectangle getFaceRectangle() {
        return faceRectangle;
    }

    public void setFaceRectangle(FaceRectangle faceRectangle) {
        this.faceRectangle = faceRectangle;
    }

    public Headpose getHeadpose() {
        return headpose;
    }

    public void setHeadpose(Headpose headpose) {
        this.headpose = headpose;
    }

    public FaceThousandlandmark getDenselandmark() {
        return denselandmark;
    }

    public void setDenselandmark(FaceThousandlandmark denselandmark) {
        this.denselandmark = denselandmark;
    }
}
